package club.xinghe.entity;

/**
 * 院系实体
 *
 * @姚文斌
 * @create 2019-09-28 下午 4:30
 **/
public class Yx {
    private int yId;//院系号
    private String yName;//院系名
    //构造器

    public Yx() {
    }

    public Yx(int yId) {
        this.yId = yId;
    }

    public Yx(String yName) {
        this.yName = yName;
    }

    public Yx(int yId, String yName) {
        this.yId = yId;
        this.yName = yName;
    }


    //setget


    public int getyId() {
        return yId;
    }

    public void setyId(int yId) {
        this.yId = yId;
    }

    public String getyName() {
        return yName;
    }

    public void setyName(String yName) {
        this.yName = yName;
    }
}
